package com.hb.gp.util.command;

public class APDU_ErrorInfo {
	/**
	 * 获取错误信息
	 * */
	public String valdataResponse(String str){
		if(str.equals("6200")){
			return WarningOrErrorCommand.COMMAND_6200;
		}
		if(str.equals("6581")){
			return WarningOrErrorCommand.COMMAND_6581;
		}
		if(str.equals("6A88")){
			return WarningOrErrorCommand.COMMAND_6A88;
		}
		if(str.equals("6A82")){
			return WarningOrErrorCommand.COMMAND_6A82;
		}
		if(str.equals("6A80")){
			return WarningOrErrorCommand.COMMAND_6A80;
		}
		if(str.equals("6400")){
			return WarningOrErrorCommand.COMMAND_6400;
		}
		if(str.equals("6700")){
			return WarningOrErrorCommand.COMMAND_6700;
		}
		if(str.equals("6881")){
			return WarningOrErrorCommand.COMMAND_6881;
		}
		if(str.equals("6982")){
			return WarningOrErrorCommand.COMMAND_6982;
		}
		if(str.equals("6985")){
			return WarningOrErrorCommand.COMMAND_6985;
		}
		if(str.equals("6A86")){
			return WarningOrErrorCommand.COMMAND_6A86;
		}
		if(str.equals("6D00")){
			return WarningOrErrorCommand.COMMAND_6D00;
		}
		if(str.equals("6E00")){
			return WarningOrErrorCommand.COMMAND_6E00;
		}
		if(str.equals("6310")){
			return WarningOrErrorCommand.COMMAND_6310;
		}
		if(str.equals("6A84")){
			return WarningOrErrorCommand.COMMAND_6A84;
		}
		if(str.equals("6882")){
			return WarningOrErrorCommand.COMMAND_6882;
		}
		if(str.equals("6A81")){
			return WarningOrErrorCommand.COMMAND_6A81;
		}
		if(str.equals("9484")){
			return WarningOrErrorCommand.COMMAND_9484;
		}
		if(str.equals("6283")){
			return WarningOrErrorCommand.COMMAND_6283;
		}
		if(str.equals("9485")){
			return WarningOrErrorCommand.COMMAND_9485;
		}
		if(str.equals("6300")){
			return WarningOrErrorCommand.COMMAND_6300;
		}
		return null;
	}
}
